package com.example.pay.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "pay")
public class PayProperties {
    // 应用ID
    private String appId;
    // 应用密钥
    private String appSecret;
    // 商户号
    private String mchId;
    // 商户密钥
    private String mchKey;
    // 微信回调地址
    private String notifyUrl;
    private String certPath;
    private String certPassword;
    private String domain;
    private String returnUrl;
    private String refundNotifyUrl;
    private String refundDomain;
    private String refundReturnUrl;
    private String refundCertPath;
}
